package com.cjy.ComparatorDemo1;

public class ComparatorBusiness {

    private String name;
    private double grades;
    public ComparatorBusiness(){}
    public ComparatorBusiness(String name,double grades){
        this.name=name;
        this.grades=grades;
    }
    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public double getGrades() {
        return grades;
    }
    public void setGrades(double grades) {
        this.grades = grades;
    }
}
